package com.blb.zy_community.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.zy_community.entity.SysDictType;
import com.blb.zy_community.mapper.SysDictTypeMapper;
import com.blb.zy_community.service.ISysDictTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 字典类型表 服务实现类
 * </p>
 *
 * @author 二组
 * @since 2023-06-18
 */
@Service
public class SysDictTypeServiceImpl extends ServiceImpl<SysDictTypeMapper, SysDictType> implements ISysDictTypeService {

    @Autowired
    private SysDictTypeMapper sysDictTypeMapper;

    @Override
    public Page<SysDictType> getSysDictTypePage(Page<Object> objectPage, String dictName, String dictType, String status, String createTimeRangeStart, String createTimeRangeEnd) {
        Page<SysDictType> sysDictTypePage= sysDictTypeMapper.selectSysDictTypePage(objectPage,dictName,dictType,status,createTimeRangeStart,createTimeRangeEnd);

        return sysDictTypePage;
    }

}
